package com.example.exchangeapp.yy.entity;

public class Goods {
    public String addr;
    public String content;
    public Integer id;
    public Long imageCode;
    public Integer price;
    public Integer typeId;
    public String typeName;
    public Integer userId;


    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getId() {
        return id;
    }
   public  Goods(){

  }
    public void setId(Integer id) {
        this.id = id;
    }

    public Long getImageCode() {
        return imageCode;
    }

    public void setImageCode(Long imageCode) {
        this.imageCode = imageCode;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Goods(String addr, String content, Integer id, Long imageCode, Integer price, Integer typeId, String typeName, Integer userId) {
        this.addr = addr;
        this.content = content;
        this.id = id;
        this.imageCode = imageCode;
        this.price = price;
        this.typeId = typeId;
        this.typeName = typeName;
        this.userId = userId;
    }

    @Override
    public String toString() {
        return "Goods{" +
                "addr='" + addr + '\'' +
                ", content='" + content + '\'' +
                ", id=" + id +
                ", imageCode=" + imageCode +
                ", price=" + price +
                ", typeId=" + typeId +
                ", typeName='" + typeName + '\'' +
                ", userId=" + userId +
                '}';
    }
}
